package cn.gson.crm.model.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.crm.model.pojo.ComplainType;

public interface LLJ_ComplainTypeDao extends CrudRepository<ComplainType,Long>{
	
	@Query("select new cn.gson.crm.model.pojo.ComplainType(c.complainId,c.complainContain) from ComplainType c ")
	public List<ComplainType> searchAllComplainType();
         
}
